package com.bz.xtcx.manager.service;

import com.bz.xtcx.manager.comom.XtcxException;
import com.bz.xtcx.manager.entity.CmsExchanges;
import com.bz.xtcx.manager.entity.CmsFloatBox;
import com.bz.xtcx.manager.entity.User;
import com.bz.xtcx.manager.vo.VoQueryExchanges;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.util.StringUtils;

import java.util.List;

/**
 * @author ygl
 * @create 2018-11-08
 * @DESCRIPTION
 **/
public interface ICmsFloatBoxService {

    void insert(CmsFloatBox obj);

    void delete(String id);

    void update(CmsFloatBox obj);

    CmsFloatBox selectById(String id);

    PageInfo<CmsFloatBox> getPageByCondition(String content,int pageNum, int pageSize, String orderBy) throws XtcxException;

    String getUserName();

    String getUserId();

    List<CmsFloatBox> getBox();
}